package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据源对象 sf_data_source
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class SfDataSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 数据模块名称 */
    @Excel(name = "数据模块名称")
    private String dateName;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String dataColType;

    /** 数据源类型 */
    @Excel(name = "数据源类型")
    private String dataType;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateName(String dateName) 
    {
        this.dateName = dateName;
    }

    public String getDateName() 
    {
        return dateName;
    }
    public void setDataColType(String dataColType) 
    {
        this.dataColType = dataColType;
    }

    public String getDataColType() 
    {
        return dataColType;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setInputDate(Date inputDate) 
    {
        this.inputDate = inputDate;
    }

    public Date getInputDate() 
    {
        return inputDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateName", getDateName())
            .append("dataColType", getDataColType())
            .append("dataType", getDataType())
            .append("inputDate", getInputDate())
            .toString();
    }
}
